/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package edu.uoc.tdp.pac2.client;

/**
 *
 * @author Korso
 */
public class PnltRecuentoAsistencia extends javax.swing.JFrame {

    /**
     * Creates new form PnlAltaGrupo
     */
    public PnltRecuentoAsistencia() {
        initComponents();
        super.setLocationRelativeTo(null);
    }

    @Override
    public java.awt.Image getIconImage() {
        java.awt.Image retValue = java.awt.Toolkit.getDefaultToolkit().
                getImage(ClassLoader.getSystemResource("resources/logo.png"));     
        return retValue;
    }    
     
    
    /**
     * This method is called from within the constructor to initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is always
     * regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        pnlIDME = new javax.swing.JPanel();
        lblAltaGrupo = new javax.swing.JLabel();
        btnRecuento = new javax.swing.JButton();
        btnIDProfesor = new javax.swing.JButton();
        cmbGrupo = new javax.swing.JComboBox();
        lblSeleccionaCurso = new javax.swing.JLabel();

        setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
        setTitle("ID.ME");
        setAlwaysOnTop(true);
        setIconImage(getIconImage());
        setName("frmIDME"); // NOI18N
        getContentPane().setLayout(new javax.swing.BoxLayout(getContentPane(), javax.swing.BoxLayout.LINE_AXIS));

        lblAltaGrupo.setBackground(new java.awt.Color(51, 255, 204));
        lblAltaGrupo.setText("ID.ME");
        lblAltaGrupo.setOpaque(true);

        btnRecuento.setIcon(new javax.swing.ImageIcon(getClass().getResource("/resources/student_journal_icon.jpg"))); // NOI18N
        btnRecuento.setText("Recuento de Asistencia");

        btnIDProfesor.setIcon(new javax.swing.ImageIcon(getClass().getResource("/resources/biometric-icon.jpg"))); // NOI18N
        btnIDProfesor.setText("Validación Biométrica Profesor");

        cmbGrupo.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Estadística", "Diseño de Interficies", "Técnicas de Desarrollo del Software" }));

        lblSeleccionaCurso.setText("Seleccione el curso sobre el que operar:");

        javax.swing.GroupLayout pnlIDMELayout = new javax.swing.GroupLayout(pnlIDME);
        pnlIDME.setLayout(pnlIDMELayout);
        pnlIDMELayout.setHorizontalGroup(
            pnlIDMELayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(lblAltaGrupo, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
            .addGroup(pnlIDMELayout.createSequentialGroup()
                .addGroup(pnlIDMELayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(pnlIDMELayout.createSequentialGroup()
                        .addContainerGap()
                        .addGroup(pnlIDMELayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(cmbGrupo, 0, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                            .addGroup(pnlIDMELayout.createSequentialGroup()
                                .addComponent(lblSeleccionaCurso)
                                .addGap(0, 0, Short.MAX_VALUE))))
                    .addGroup(pnlIDMELayout.createSequentialGroup()
                        .addGap(37, 37, 37)
                        .addGroup(pnlIDMELayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                            .addComponent(btnIDProfesor, javax.swing.GroupLayout.DEFAULT_SIZE, 371, Short.MAX_VALUE)
                            .addComponent(btnRecuento, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                        .addGap(0, 25, Short.MAX_VALUE)))
                .addContainerGap())
        );
        pnlIDMELayout.setVerticalGroup(
            pnlIDMELayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(pnlIDMELayout.createSequentialGroup()
                .addComponent(lblAltaGrupo, javax.swing.GroupLayout.PREFERRED_SIZE, 23, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(18, 18, 18)
                .addComponent(lblSeleccionaCurso)
                .addGap(12, 12, 12)
                .addComponent(cmbGrupo, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(35, 35, 35)
                .addComponent(btnIDProfesor, javax.swing.GroupLayout.PREFERRED_SIZE, 79, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(27, 27, 27)
                .addComponent(btnRecuento, javax.swing.GroupLayout.PREFERRED_SIZE, 79, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addContainerGap(69, Short.MAX_VALUE))
        );

        getContentPane().add(pnlIDME);

        pack();
    }// </editor-fold>//GEN-END:initComponents

    /**
     * @param args the command line arguments
     */
    public static void main(String args[]) {
        /* Set the Nimbus look and feel */
        //<editor-fold defaultstate="collapsed" desc=" Look and feel setting code (optional) ">
        /* If Nimbus (introduced in Java SE 6) is not available, stay with the default look and feel.
         * For details see http://download.oracle.com/javase/tutorial/uiswing/lookandfeel/plaf.html 
         */
        try {
            for (javax.swing.UIManager.LookAndFeelInfo info : javax.swing.UIManager.getInstalledLookAndFeels()) {
                if ("Nimbus".equals(info.getName())) {
                    javax.swing.UIManager.setLookAndFeel(info.getClassName());
                    break;
                }
            }
        } catch (ClassNotFoundException ex) {
            java.util.logging.Logger.getLogger(PnltRecuentoAsistencia.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        } catch (InstantiationException ex) {
            java.util.logging.Logger.getLogger(PnltRecuentoAsistencia.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        } catch (IllegalAccessException ex) {
            java.util.logging.Logger.getLogger(PnltRecuentoAsistencia.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        } catch (javax.swing.UnsupportedLookAndFeelException ex) {
            java.util.logging.Logger.getLogger(PnltRecuentoAsistencia.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        }
        //</editor-fold>

        /* Create and display the form */
        java.awt.EventQueue.invokeLater(new Runnable() {
            public void run() {
                new PnltRecuentoAsistencia().setVisible(true);
            }
        });
    }
    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JButton btnIDProfesor;
    private javax.swing.JButton btnRecuento;
    private javax.swing.JComboBox cmbGrupo;
    private javax.swing.JLabel lblAltaGrupo;
    private javax.swing.JLabel lblSeleccionaCurso;
    private javax.swing.JPanel pnlIDME;
    // End of variables declaration//GEN-END:variables
}
